<template>
	<view>
		<scroll-view>
			<view class="content">
				<view class="left">
					<u--image radius="4" src="https://cdn.uviewui.com/uview/album/1.jpg" width="80px" height="80px">
					</u--image>
				</view>
				<view class="right">
					<view class="title">篮球场入场券</view>
					<view class="time">活动时间：09-12 15:32 至 09-13 12:44</view>
					<view class="progress">
						<u-line-progress :percentage="30" :showText="true"></u-line-progress>
					</view>
					<view class="detail">
						<view>￥0.01</view>
						<view>剩余：999</view>
					</view>
				</view>
			</view><view class="content">
				<view class="left">
					<u--image radius="4" src="https://cdn.uviewui.com/uview/album/1.jpg" width="80px" height="80px">
					</u--image>
				</view>
				<view class="right">
					<view class="title">篮球场入场券</view>
					<view class="time">活动时间：09-12 15:32 至 09-13 12:44</view>
					<view class="progress">
						<u-line-progress :percentage="30" :showText="true"></u-line-progress>
					</view>
					<view class="detail">
						<view>￥0.01</view>
						<view>剩余：999</view>
					</view>
				</view>
			</view><view class="content">
				<view class="left">
					<u--image radius="4" src="https://cdn.uviewui.com/uview/album/1.jpg" width="80px" height="80px">
					</u--image>
				</view>
				<view class="right">
					<view class="title">篮球场入场券</view>
					<view class="time">活动时间：09-12 15:32 至 09-13 12:44</view>
					<view class="progress">
						<u-line-progress :percentage="30" :showText="true"></u-line-progress>
					</view>
					<view class="detail">
						<view>￥0.01</view>
						<view>剩余：999</view>
					</view>
				</view>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	};
</script>
<style lang="scss" scoped>
	.content {
		display: flex;
		flex-direction: row;
		width: 100%;
		height: 100%;
		justify-content: flex-start;
		justify-items: center;
		align-items: center;
		padding: 20rpx;
		.left{
			margin-right: 20rpx;
		}
		.right {
			flex: 0.9;
			line-height:50rpx;
			.title {
				font-size: 32rpx;
			}

			.time {
				font-size: 24rpx;
			}
			.progress{
				.u-percentage-slot {
					// padding: 1px 5px;
					background-color: $u-warning;
					color: #fff;
					border-radius: 100px;
					font-size: 9px;
					margin-right: -5px;
					
				}
			}
			

			.detail {
				font-size: 24rpx;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				justify-items: center;
				align-items: center;
				view:first-child{
					color: red;
					font-weight:800;
				}
				
			}
		}
	}
</style>
